﻿using System;
using System.Collections.Generic;
using System.ComponentModel;

namespace WorkTool
{
	public partial class StringSizeChecker : System.Windows.Forms.UserControl
	{
		public StringSizeChecker()
		{
			InitializeComponent();
		}

		private void textBox1_TextChanged(object sender, EventArgs e)
		{
			label1.Text = textBox1.Text.Length + "   (" + textBox1.Text.Trim().Length + " trimmed)";
		}
	}
}
